package com.example.online.music.service;

import com.example.online.music.common.R;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface PayService {
    R commonAlipay(List<Integer> songIds, Integer userId,Integer payType) throws Exception;
    R commonPayNotify(HttpServletRequest request) throws Exception;
    void commonPayReturn(String tradeNo, String sign, HttpServletResponse response) throws Exception;
    R allPayList(Integer userId);
}
